package xyz.fping.dubbo.service.impl;

import xyz.fping.dubbo.model.User;
import xyz.fping.dubbo.service.UserService;

/**
 * @author fping
 * @date 2021/8/14 9:05
 * @description: TODO
 */
public class UserServiceImpl implements UserService {
    @Override
    public User queryUserById(Integer id) {
        User user = new User();
        user.setId(id);
        user.setUsername("wangfangping");
        user.setAge(25);
        return user;
    }
}
